// 由create_algorithm.js自动生成, 不要手动修改.
export default
function importAlgorithm(id, doSetup, doReset){
  switch(id){
    
    case 'Perceptron':
      import('./Perceptron.js').then(doSetup);
      break;
    
    case 'DualFormPerceptron':
      import('./DualFormPerceptron.js').then(doSetup);
      break;
    
    case 'KNN':
      import('./KNN.js').then(doSetup);
      break;
    
    case 'KDTree':
      import('./KDTree.js').then(doSetup);
      break;
    
    case 'KDTreeFindNearest':
      import('./KDTreeFindNearest.js').then(doSetup);
      break;
    
    case 'NBModel':
      import('./NBModel.js').then(doSetup);
      break;
    
    case 'InformationGain':
      import('./InformationGain.js').then(doSetup);
      break;
    
    case 'DecisionTreeID3':
      import('./DecisionTreeID3.js').then(doSetup);
      break;
    
    case 'DecisionTreeC45':
      import('./DecisionTreeC45.js').then(doSetup);
      break;
    
    case 'TreePruning':
      import('./TreePruning.js').then(doSetup);
      break;
    
    case 'LSRegressionTree':
      import('./LSRegressionTree.js').then(doSetup);
      break;
    
    case 'CART':
      import('./CART.js').then(doSetup);
      break;
    
    case 'CARTPruning':
      import('./CARTPruning.js').then(doSetup);
      break;
    
    case 'IIS':
      import('./IIS.js').then(doSetup);
      break;
    
    case 'BFGS':
      import('./BFGS.js').then(doSetup);
      break;
    
    case 'LinearSepSVMMaxMarginMethod':
      import('./LinearSepSVMMaxMarginMethod.js').then(doSetup);
      break;
    
    case 'LinearSepSVM':
      import('./LinearSepSVM.js').then(doSetup);
      break;
    
    case 'LinearSVM':
      import('./LinearSVM.js').then(doSetup);
      break;
    
    case 'NonlinearSVM':
      import('./NonlinearSVM.js').then(doSetup);
      break;
    
    case 'SMO':
      import('./SMO.js').then(doSetup);
      break;
    
    case 'AdaBoost':
      import('./AdaBoost.js').then(doSetup);
      break;
    
    case 'ForwardStagewiseAlg':
      import('./ForwardStagewiseAlg.js').then(doSetup);
      break;
    
    case 'BoostingTree':
      import('./BoostingTree.js').then(doSetup);
      break;
    
    case 'GBDT':
      import('./GBDT.js').then(doSetup);
      break;
    
    case 'EM':
      import('./EM.js').then(doSetup);
      break;
    
    case 'EMForEoPOfGMM':
      import('./EMForEoPOfGMM.js').then(doSetup);
      break;
    
    case 'GEM1':
      import('./GEM1.js').then(doSetup);
      break;
    
    case 'GEM2':
      import('./GEM2.js').then(doSetup);
      break;
    
    case 'GEM3':
      import('./GEM3.js').then(doSetup);
      break;
    
    case 'ObservationSeqGenAlg':
      import('./ObservationSeqGenAlg.js').then(doSetup);
      break;
    
    case 'ForwardAlgForOSP':
      import('./ForwardAlgForOSP.js').then(doSetup);
      break;
    
    case 'BackwardAlgForOSP':
      import('./BackwardAlgForOSP.js').then(doSetup);
      break;
    
    case 'BaumWelch':
      import('./BaumWelch.js').then(doSetup);
      break;
    
    case 'Viterbi':
      import('./Viterbi.js').then(doSetup);
      break;
    
    case 'IISForCRF':
      import('./IISForCRF.js').then(doSetup);
      break;
    
    case 'BFGSForCRF':
      import('./BFGSForCRF.js').then(doSetup);
      break;
    
    default:
      doReset();
      break;
  }
}